<?php

class Testck extends MX_Controller {

	var $partials = array();
	var $sitePermissions = array();
	var $includes_path = '/includes';			// path to includes for header and footer
	var $num = 10;

	function __construct()
	{
		parent::__construct();

		// get siteID, if available
		if (defined('SITEID'))
		{
			$this->siteID = SITEID;
		}		


	}

	//acakm
	function index()
	{	 
	  $this->load->library('ckeditor');
	  $this->load->library('ckFinder');
	   $this->ckeditor->basePath = APPPATH.'third_party/ckeditor/';
	 
      $this->ckeditor->config['skin'] = "kama";
       $this->ckeditor->config['uiColor'] = "#D0E5F5";
	    //Setting a custom toolbar
		$this->ckeditor->config['toolbar'] = array(
                                array('NewPage','Preview','-','Source','-','Templates'),
                                array('Format','Font','FontSize'),
                                array('Bold','Italic','Underline','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','NumberedList','BulletedList'),
                                array('Outdent','Indent','-','BidiLtr','BidiRtl'),
                                array('TextColor','BGColor','Smiley'),
                                        array('Image','Link','Unlink','Table','HorizontalRule','SpecialChar','PageBreak','SpellChecker')
                                );
		$this->ckeditor->config['language'] = 'en';
		//configure ckfinder with ckeditor config
	    $this->ckfinder->SetupCKEditor($this->ckeditor,'third_party/ckfinder');
		 $this->load->view('index');
	  
	 
	}
           

}